/* Gallery Wrapper */
.gallery-view {
    box-sizing: border-box;
    height: 100%;
    position: relative;
    min-height: 280px;
    overflow: hidden;
    background: var(--mobile-page-background);
    transition: 200ms linear;
}
.rtl .gallery-view {
    direction: rtl;
}
.gallery-view-scrolling {
    height: 100%;
    padding-top: 1px;
    box-sizing: border-box;
}
.gallery-view .content-block {
    display: grid;
    position: relative;
}
.gallery-view .content-row {
    position: relative;
    color: var(--text-color-white-high);
}
.gallery-view .content-row.template {
    display: none;
}
.gallery-view .content {
    margin: 4px auto;
}
.gallery-view.gallery-type-a .content {
    width: 100%;
    max-width: 2440px;
    box-sizing: border-box;
}
.gallery-view.gallery-type-y .content,
.gallery-view.gallery-type-m .content,
.gallery-view.gallery-type-d .content {
    width: 100%;
    max-width: 820px;
}
.gallery-view .showMore .content-block::after {
    content: attr(data-date);
    position: absolute;
    border-radius: 12px;
    background: var(--stroke-grey-2-inverted);
    color: var(--text-color-higher-inverted);
    padding: 2px 12px;
    top: 12px;
    left: 12px;
    z-index: 4;
}
.rtl .gallery-view .showMore .content-block::after {
    left: auto;
    right: 12px;
}
.gallery-view .showMore .content-block::after {
    content: attr(data-more);
    top: auto;
    bottom: 12px;
    left: auto;
    right: 12px;
}
.rtl .gallery-view .showMore .content-block::after {
    left: 12px;
    right: auto;
}
.gallery-view .content .data-block-view:hover,
.gallery-view .content .data-block-view.ui-selected,
.album-timeline-cell.ui-selected {
    border-radius: 2px;
}
.gallery-view .gallery-view-scrolling .content .data-block-view:not(.ui-selected):hover {
    z-index: 2;
}
.gallery-view .gallery-view-scrolling .content .data-block-view.ui-selected {
    z-index: 3;
}
.add-to-album-dialog .albums-grid-cell {
    background-position: center;
    background-size: 100%;
}
.gallery-view .item-type-icon-90 {
    top: 50%;
}
.gallery-view .data-block-bg .item-type-icon-90,
.albums-grid-cell i.image,
.albums-grid-cell i.video,
.album-timeline-cell i.image,
.album-timeline-cell i.video {
    background: none;
    --icon-size: calc(var(--block-height, 200px) * 0.5);
    width: calc(var(--block-height, 200px) * 0.5);
    height: calc(var(--block-height, 200px) * 0.5);
    --mask-color: var(--stroke-grey-1);
    position: absolute;
}
.albums-grid-cell .album-settings-icon {
    opacity: 0;
    top: 6px;
    right: 6px;
    left: auto;
    bottom: auto;
    z-index: 10;
    transition: opacity 0.2s ease;
    height: 26px;
    width: 26px;
    border-radius: 50%;
}
.albums-grid-cell .album-settings-icon i::before {
    --icon-size: 26px;
}
.albums-grid-cell:hover .album-settings-icon,
.albums-grid-cell.ui-selected .album-settings-icon {
    opacity: 1;
}
.gallery-view .data-block-bg.thumb .item-type-icon-90 {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
}
.gallery-view .data-block-view .data-block-bg.thumb img {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    object-fit: cover;
    background: var(--image-background);
}
.gallery-view.gallery-type-a .data-block-view .data-block-bg.thumb img,
.album-timeline-cell img {
    border: 1px solid var(--mobile-page-background);
    border-radius: 3px;
    box-sizing: border-box;
}
.gallery-view .content .data-block-view .data-block-bg {
    border-radius: 0;
    border: none;
    width: auto;
    height: 100%;
    background: transparent;
}
.gallery-view.gallery-type-a .content .data-block-view .data-block-bg {
    padding-top: 100%;
}
.gallery-view .data-block-bg.thumb {
    position: relative;
}
.gallery-view .data-block-bg.video {
    position: relative;
}
.gallery-view .data-block-bg.video .video-thumb-play,
#albums-view .album-timeline-cell .video-thumb-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    --icon-size: 54px;
    --mask-color: white;
    opacity: 0.8;
    z-index: 5;
}
#gallery-view.gallery-type-y .data-block-bg.video .video-thumb-details,
#gallery-view.gallery-type-y .data-block-bg.video .video-thumb-play,
#gallery-view.zoom-3 .data-block-bg.video .video-thumb-play,
#gallery-view.zoom-4 .data-block-bg.video .video-thumb-play,
#albums-view .album-timeline-zoom-1 .album-timeline-cell .video-thumb-play,
#albums-view .album-timeline-zoom-0 .album-timeline-cell .video-thumb-play,
.gallery-view.gallery-type-a .data-block-view > i,
.mega-dialog .album-timeline-cell .video-thumb-play {
    display: none;
}
.gallery-view.gallery-type-a .data-block-view {
    border-radius: 0;
    margin: 4px;
    min-width: 66px;
    width: auto;
}
.gallery-view.gallery-type-a.zoom-3 .data-block-view,
.gallery-view.gallery-type-a.zoom-4 .data-block-view {
    margin: 1px;
}
.gallery-view.gallery-type-a .data-block-view:not(.ui-selected):hover {
    box-shadow: 0 0 0 2px var(--stroke-grey-2);
    transition-duration: 200ms;
}
.gallery-view .data-block-view.ui-selected,
.gallery-view .data-block-view.ui-selecting {
    box-shadow: 0 0 0 4px var(--radio-border-active);
    transition-duration: 200ms;
}
.gallery-view.gallery-type-a .data-block-view.ui-selected,
.gallery-view.gallery-type-a .data-block-view.ui-selecting,
.album-timeline-cell.ui-selected {
    box-shadow: 0 0 0 3px var(--radio-border-active);
}
.gallery-view.gallery-type-a .data-block-view.ui-selected > i,
.gallery-view.gallery-type-a .data-block-view.ui-selecting > i,
.album-timeline-cell.ui-selected > i.icon-check {
    display: block;
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    background-color: var(--radio-border-active);
    color: var(--text-color-high-inverted);
    border-radius: 3px;
    --mask-color: var(--text-color-high-inverted);
}
.gallery-view .data-block-bg .data-block-fav-icon {
    bottom: 12px;
    left: 12px;
    right: auto;
    top: auto;
    position: absolute;
    color: var(--secondary-white);
    filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.6));
}
.gallery-view.gallery-type-y .data-block-bg .data-block-fav-icon,
.gallery-view.gallery-type-a a.data-block-view.shimmer .video-thumb-details {
    display: none;
}
.gallery-view .data-block-bg.video .video-thumb-details,
#albums-view .album-timeline-cell.show-video-duration::after {
    display: block;
    right: 12px;
    bottom: 12px;
    top: auto;
    left: auto;
    padding: 2px 8px;
    border-radius: 12px;
    background: var(--text-color-black-low);
    font: var(--text-body2);
    color: var(--text-color-white-high);
}
#albums-view .album-timeline-cell.show-video-duration::after {
    position: absolute;
    content: attr(data-video-duration);
}
.gallery-view.gallery-type-a.zoom-4 .data-block-bg.video .video-thumb-details {
    font-size: 10px;
    padding: 0 4px;
}
.gallery-view.gallery-type-a.zoom-1 .data-block-view {
    max-width: 560px;
}
.gallery-view.gallery-type-a.zoom-2 .data-block-view {
    max-width: 480px;
}
.gallery-view.gallery-type-a.zoom-3 .data-block-view {
    max-width: 240px;
}
.gallery-view.gallery-type-a.zoom-4 .data-block-view {
    max-width: 160px;
}
.gallery-view.gallery-type-a.zoom-1 .content-block {
    grid-template-columns: repeat(3, calc(100% / 3));
}
.gallery-view.gallery-type-a.zoom-2 .content-block {
    grid-template-columns: repeat(5, 20%);
}
.gallery-view.gallery-type-a.zoom-3 .content-block {
    grid-template-columns: repeat(10, 10%);
}
.gallery-view.gallery-type-a.zoom-4 .content-block {
    grid-template-columns: repeat(15, calc(100% / 15));
}
.gallery-view-zoom-control {
    display: none;
}
.gallery-view.gallery-type-a .gallery-view-zoom-control {
    position: absolute;
    top: 9px;
    right: 20px;
    z-index: 10;
    display: block;
}
.rtl .gallery-view.gallery-type-a .gallery-view-zoom-control {
    right: auto;
    left: 20px;
}
.gallery-view-zoom-control .btn-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--surface-link-inverted);
    text-align: center;
}
.gallery-view-zoom-control i {
    --icon-size: 20px;
    --mask-color: var(--text-color-higher-inverted);
    margin: 2px 0;
}

.timeline-date-title {
    grid-column: 1 / -1;
}

/* Block view - Day */
.rtl .gallery-view.gallery-type-d .showDate .content-block::before {
    left: auto;
    right: 24px;
}
.gallery-view.gallery-type-d .data-block-view:not(.ui-selected):hover {
    box-shadow: 0 0 0 2px var(--stroke-grey-2);
    border-width: 1px;
    transition-duration: 200ms;
}
.gallery-view.gallery-type-d .content-row .content-block {
    height: 285px;
    grid-gap: 8px;
    padding-top: 8px;
    font: var(--text-h3);
}
.gallery-view.gallery-type-d .content-row.layout-1 .data-block-view:nth-child(1) {
    z-index: 3;
}
.gallery-view.gallery-type-d .content-row.layout-1 .data-block-view:hover:nth-child(1),
.gallery-view.gallery-type-d .content-row.layout-1 .data-block-view.ui-selected:nth-child(1) {
    border-right-color: var(--stroke-grey-1);
}
.gallery-view.gallery-type-d .content-row.layout-1 .gallery-block-bg-wrap {
    position: absolute;
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    z-index: 0;
    overflow: hidden;
    top: 1px;
    left: 1px;
}
.gallery-view.gallery-type-d .content-row.layout-1 .gallery-block-bg {
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    filter: blur(10px);
    opacity: 0.5;
    position: relative;
}
.gallery-view.gallery-type-d .content-row.layout-3 .data-block-view:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
}
.gallery-view.gallery-type-d .content-row.layout-3 .data-block-view:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}
.gallery-view.gallery-type-d .content-row.layout-3 .data-block-view:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}
.gallery-view.gallery-type-d .content-row.layout-3-2 .data-block-view:nth-child(1) {
    grid-column: 1;
    grid-row: 1;
}
.gallery-view.gallery-type-d .content-row.layout-3-2 .data-block-view:nth-child(2) {
    grid-column: 1;
    grid-row: 2;
}
.gallery-view.gallery-type-d .content-row.layout-3-2 .data-block-view:nth-child(3) {
    grid-column: 2;
    grid-row: 1 / 3;
}
.gallery-view.gallery-type-d .content-row.layout-4 .data-block-view:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
}
.gallery-view.gallery-type-d .content-row.layout-4 .data-block-view:nth-child(2) {
    grid-column: 2 / 4;
    grid-row: 1;
}
.gallery-view.gallery-type-d .content-row.layout-4 .data-block-view:nth-child(3) {
    grid-column: 2;
    grid-row: 2;
}
.gallery-view.gallery-type-d .content-row.layout-4 .data-block-view:nth-child(4) {
    grid-column: 3;
    grid-row: 2;
}
.gallery-view.gallery-type-d .data-block-bg {
    height: 100%;
    top: 0;
}
.gallery-view.gallery-type-m .gallery-date-block {
    z-index: 4;
    position: absolute;
    top: 17px;
    left: 12px;
    font: var(--text-h3);
}
body.rtl .gallery-view.gallery-type-m .gallery-date-block {
    left: auto;
    right: 12px;
}
.gallery-view.gallery-type-m .gallery-date-block i {
    --icon-size: 24px;
    --mask-color: var(--mobile-text-disabled);
}
body.rtl .gallery-view.gallery-type-m .gallery-date-block i::before {
    transform: rotate(180deg);
}
.gallery-view.gallery-type-m .data-block-view:nth-child(1)::before {
    top: 48px;
}
.rtl .gallery-view.gallery-type-m .data-block-view::before {
    left: auto;
    right: 24px;
}
.gallery-view.gallery-type-y .data-block-view.shimmer {
    color: var(--text-color-high);
}
.gallery-view.gallery-type-y .data-block-view:not(.shimmer)::after,
.gallery-view.gallery-type-m .data-block-view::after,
.gallery-view.gallery-type-d .data-block-view::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent);
}
.gallery-view.gallery-type-m .content-row .content-block {
    grid-gap: 8px;
    padding-top: 8px;
    height: 330px;
}
.gallery-view.gallery-type-m .content-row.layout-1 .content-block,
.gallery-view.gallery-type-d .content-row.layout-1 .content-block {
    grid-template-areas: "c1";
    grid-template-columns: 100%;
    grid-template-rows: 100%;
}
.gallery-view.gallery-type-m .content-row.layout-2 .content-block,
.gallery-view.gallery-type-d .content-row.layout-2 .content-block {
    grid-template-areas: "c1 c2";
    grid-template-columns: 50fr 50fr;
}
.gallery-view.gallery-type-m .content-row.layout-3 .content-block,
.gallery-view.gallery-type-d .content-row.layout-3 .content-block {
    grid-template-areas: "c1 c2" "c1 c3";
}
.gallery-view.gallery-type-m .content-row.layout-3-2 .content-block,
.gallery-view.gallery-type-d .content-row.layout-3-2 .content-block {
    grid-template-areas: "c1 c3" "c2 c3";
}
.gallery-view.gallery-type-m .content-row.layout-4 .content-block,
.gallery-view.gallery-type-d .content-row.layout-4 .content-block {
    grid-template-areas: "c1 c2 c2" "c1 c3 c4";
    grid-template-columns: 67fr 16.5fr 16.5fr;
}
.gallery-view.gallery-type-m .content-row.layout-4-2 .content-block,
.gallery-view.gallery-type-d .content-row.layout-4-2 .content-block {
    grid-template-areas: "c1 c1 c4" "c2 c3 c4";
    grid-template-columns: 16.5fr 16.5fr 67fr;
}
.gallery-view.gallery-type-m .content-row.layout-3 .content-block {
    grid-template-columns: 65fr 35fr;
}
.gallery-view.gallery-type-d .content-row.layout-3 .content-block {
    grid-template-columns: 67fr 33fr;
}
.gallery-view.gallery-type-m .content-row.layout-3-2 .content-block {
    grid-template-columns: 35fr 65fr;
}
.gallery-view.gallery-type-d .content-row.layout-3-2 .content-block {
    grid-template-columns: 33fr 67fr;
}
.gallery-view.gallery-type-a .data-block-bg {
    height: 100%;
    top: 0;
}
#gallery-view .data-block-bg {
    border: none;
}
.gallery-view.gallery-type-y .data-block-view::before,
.gallery-view.gallery-type-m .data-block-view::before,
.gallery-view.gallery-type-d .showDate .content-block::before {
    content: attr(data-date);
    padding: 0;
    top: 20px;
    left: 12px;
    position: absolute;
    z-index: 4;
}
.gallery-view.gallery-type-d .showDate .content-block::before {
    top: 20px;
    font: var(--text-h3);
}
.gallery-view.gallery-type-y .data-block-view::before {
    top: 12px;
    font: var(--text-h3);
}
.theme-dark .gallery-view.gallery-type-y .data-block-view::before {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}
.rtl .gallery-view.gallery-type-y .data-block-view::before {
    left: auto;
    right: 24px;
}
.gallery-view.gallery-type-y .data-block-view,
.gallery-view.gallery-type-m .data-block-view,
.gallery-view.gallery-type-d .data-block-view {
    width: auto;
    border-radius: 0;
    overflow: visible;
}
.gallery-view.gallery-type-y .data-block-view .data-block-bg {
    padding-top: 0;
    height: 256px;
}
.gallery-view.gallery-type-y .content-row {
    padding-top: 8px;
}
.gallery-view.gallery-type-y .content-row .content-block {
    align-items: stretch;
    grid-gap: 8px;
    grid-template-columns: calc(33.3333% - 5px) calc(33.3333% - 5px) calc(33.3333% - 5px);
}
.mega-button.action.gallery-close-discovery {
    padding-inline-end: 8px;
    position: relative;
    top: 4px;
    min-height: 32px;
}
.gallery-close-discovery i {
    --mask-color: var(--secondary-red);
}
.gallery-close-discovery span {
    white-space: nowrap;
}
.btn-galleries.js-lpbtn.favourites.active i {
    --mask-color: var(--secondary-red);
}
.gallery-tabs-bl .gallery-section-title .sprite-fm-mono.icon-favourite-filled {
    --mask-color: var(--secondary-red);
}
.gallery-tabs-bl .gallery-section-title .fm-filter-chip-button ~ .media-filter-reset button {
    display: none;
}
.gallery-tabs-bl .gallery-section-title .fm-filter-chip-button.selected ~ .media-filter-reset button {
    display: block;
}
.gallery-tabs-bl.invisible {
    visibility: hidden;
}
.media-tabs {
    font: var(--text-h3-bold);
    box-sizing: border-box;
}
.media-tabs,
.pm-main.active-folder-link .albums-header {
    border-bottom: 1px solid var(--mobile-border-strong);
}
.m-menu-select .remember-location-pref > span {
    font: var(--text-body2);
}
.m-menu-select .remember-location-pref .checkdiv {
    margin-inline-end: 0;
}
.gallery-view.gallery-type-m .shimmer .gallery-date-block i {
    display: none;
}
#albums-view {
    height: 100%;
    min-height: 280px;
    overflow: hidden;
    background-color: var(--mobile-page-background);
}
.albums-header {
    padding-inline-start: 1.25rem;
}
.albums-header.invisible {
    visibility: hidden;
}
.rtl .albums-header {
    direction: rtl;
}
.albums-grid {
    --albums-grid-gap: 1.25rem;
    grid-gap: var(--albums-grid-gap);
    box-sizing: border-box;
    overflow: hidden;
    background-color: var(--mobile-page-background);
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    grid-auto-rows: max-content;
}
.albums-grid.empty-grid {
    justify-content: center;
    grid-template-columns: auto;
    grid-auto-rows: auto;
}
.albums-grid .albums-grid-cell .thumb-area i {
    --mask-color: var(--secondary-grey);
}
.albums-grid .albums-grid-cell .thumb-area i {
    --icon-size: 120px;
}
.albums-grid .albums-grid-cell .album-label {
    font: 600 var(--text-body1);
}
.albums-grid .albums-grid-cell .album-extras * {
    position: relative;
}
.albums-grid .albums-grid-cell .album-extras * + *::after {
    content: "\2022";
    position: absolute;
    left: -13px;
    right: auto;
    font-family: Arial, sans-serif;
    top: -1px;
    font-size: 10px;
}
.rtl .albums-grid .albums-grid-cell .album-extras * + *::after {
    left: auto;
    right: -13px;
}
.albums-grid .albums-grid-cell > i.image,
.albums-grid .albums-grid-cell > i.video {
    --icon-size: calc(var(--block-height, 200px) * 0.75);
    width: calc(var(--block-height, 240px) * 0.75);
    height: calc(var(--block-height, 240px) * 0.75);
}
.albums-grid .albums-grid-cell.shimmer:nth-child(2n) {
    animation-delay: 0.18s;
}
.album-content-grid {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr;
    position: relative;
    box-sizing: border-box;
    padding: 0;
    height: 100%;
}
.albums-grid-cell .thumb-area {
    border-radius: 12px;
    overflow: hidden;
    transition-duration: 200ms;
}
.albums-grid-cell .thumb-area img,
.album-timeline-cell img {
    background-color: white;
}
.albums-grid-cell.ui-selected .thumb-area,
.album-timeline-cell.ui-selected .thumb-area {
    box-shadow: 0 0 0 3px var(--radio-border-active);
}
.albums-grid-cell.album-placeholder > div.pt-full  {
    background-color: var(--surface-grey-2);
    border-radius: 12px;
}
.albums-grid-cell.shimmer > div {
    background: none;
    color: var(--stroke-main-inverted);
    text-shadow: none;
}
.albums-grid-cell.album-placeholder > div {
    color: var(--text-color-high);
}
.albums-grid-cell i.image,
.albums-grid-cell i.video,
.albums-grid-cell i.icon-album,
.album-timeline-cell i.image,
.album-timeline-cell i.video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.albums-tree-list {
    height: 0;
    overflow-y: hidden;
}
.lp-content-wrap .btn-galleries.expansion-btn-open + .albums-tree-list {
    height: auto;
    overflow: visible;
}
.create-album-input-bl + div {
    display: block;
}
.create-album-input-bl i.icon-album {
    --mask-color: var(--text-color-medium);
}
.create-album-input-bl:hover:not(.duplicated),
.create-album-input-bl:focus-within:not(.duplicated) {
    border: 1px solid var(--secondary-blue);
}
.create-album-input-bl.duplicated {
    border: 1px solid var(--banner-border-error);
}
.empty-albums-title + .mega-button {
    margin-top: 2.3rem;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
}
.album-timeline-main {
    position: relative;
    box-sizing: border-box;
}
.album-timeline-dialog {
    height: 460px;
    box-sizing: border-box;
}
.album-timeline {
    display: grid;
    grid-gap: 0.5rem;
    background: var(--surface-grey-1);
}
.album-items-dialog {
    width: 720px;
}
.album-items-dialog .m-tabs {
    background-color: var(--surface-main);
}
.album-timeline-cell {
    position: relative;
    margin: 4px;
    transition: background-image 1s ease;
    background-image: none;
}
.album-timeline-cell:not(.shimmer) {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--surface-main);
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer,
.album-timeline-zoom-1 .album-timeline-cell.shimmer,
.gallery-view.zoom-3 a.data-block-view.shimmer,
.gallery-view.zoom-4 a.data-block-view.shimmer {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 25%,
        var(--surface-highlight-1) 35%,
        var(--surface-highlight-1) 50%,
        var(--surface-highlight-1) 65%,
        rgba(0, 0, 0, 0) 75%,
        rgba(0, 0, 0, 0) 100%
    );
    background-color: var(--surface-grey-6);
    background-size: 1500% 100%;
}
.album-timeline-zoom-2 .album-timeline-cell.shimmer,
.album-timeline-zoom-3 .album-timeline-cell.shimmer,
.gallery-view.zoom-1 a.data-block-view.shimmer,
.gallery-view.zoom-2 a.data-block-view.shimmer {
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0) 40%,
        var(--surface-highlight-1) 45%,
        var(--surface-highlight-1) 50%,
        var(--surface-highlight-1) 55%,
        rgba(0, 0, 0, 0) 60%,
        rgba(0, 0, 0, 0) 100%
    );
    background-color: var(--surface-grey-6);
    background-size: 1500% 100%;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(15),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(15),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 15),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 15) {
    animation-delay: 0.7s;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(14),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(14),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 14),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 14) {
    animation-delay: 0.65s;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(13),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(13),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 13),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 13) {
    animation-delay: 0.6s;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(12),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(12),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 12),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 12) {
    animation-delay: 0.55s;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(11),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(11),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 11),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 11) {
    animation-delay: 0.5s;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(10),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(10),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 10),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 10) {
    animation-delay: 0.45s;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(9),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(9),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 9),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 9) {
    animation-delay: 0.4s;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(8),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(8),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 8),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 8) {
    animation-delay: 0.35s;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(7),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(7),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 7),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 7) {
    animation-delay: 0.3s;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(6),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(6),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 6),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 6) {
    animation-delay: 0.25s;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(5),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(5),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 5),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 5) {
    animation-delay: 0.2s;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(4),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(4),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 4),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 4) {
    animation-delay: 0.15s;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(3),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(3),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 3),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 3) {
    animation-delay: 0.1s;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(2),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(2),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 2),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 2) {
    animation-delay: 0.05s;
}
.album-timeline-zoom-0 .album-timeline-cell.shimmer:nth-child(1),
.album-timeline-zoom-1 .album-timeline-cell.shimmer:nth-child(1),
.gallery-view.zoom-3 a.data-block-view.shimmer:nth-child(10n + 1),
.gallery-view.zoom-4 a.data-block-view.shimmer:nth-child(15n + 1) {
    animation-delay: 0s;
}
.album-timeline-zoom-2 .album-timeline-cell.shimmer:nth-child(5),
.album-timeline-zoom-3 .album-timeline-cell.shimmer:nth-child(5),
.gallery-view.zoom-1 a.data-block-view.shimmer:nth-child(3n + 5),
.gallery-view.zoom-2 a.data-block-view.shimmer:nth-child(5n + 5) {
    animation-delay: 0.4s;
}
.album-timeline-zoom-2 .album-timeline-cell.shimmer:nth-child(4),
.album-timeline-zoom-3 .album-timeline-cell.shimmer:nth-child(4),
.gallery-view.zoom-1 a.data-block-view.shimmer:nth-child(3n + 4),
.gallery-view.zoom-2 a.data-block-view.shimmer:nth-child(5n + 4) {
    animation-delay: 0.3s;
}
.album-timeline-zoom-2 .album-timeline-cell.shimmer:nth-child(3),
.album-timeline-zoom-3 .album-timeline-cell.shimmer:nth-child(3),
.gallery-view.zoom-1 a.data-block-view.shimmer:nth-child(3n + 3),
.gallery-view.zoom-2 a.data-block-view.shimmer:nth-child(5n + 3) {
    animation-delay: 0.2s;
}
.album-timeline-zoom-2 .album-timeline-cell.shimmer:nth-child(2),
.album-timeline-zoom-3 .album-timeline-cell.shimmer:nth-child(2),
.gallery-view.zoom-1 a.data-block-view.shimmer:nth-child(3n + 2),
.gallery-view.zoom-2 a.data-block-view.shimmer:nth-child(5n + 2) {
    animation-delay: 0.1s;
}
.album-timeline-zoom-2 .album-timeline-cell.shimmer:nth-child(1),
.album-timeline-zoom-3 .album-timeline-cell.shimmer:nth-child(1),
.gallery-view.zoom-1 a.data-block-view.shimmer:nth-child(3n + 1),
.gallery-view.zoom-2 a.data-block-view.shimmer:nth-child(5n + 1) {
    animation-delay: 0s;
}
.album-timeline-cell.show-date::before {
    position: absolute;
    border-radius: 12px;
    background: var(--stroke-grey-2);
    color: var(--text-color-higher);
    left: 0.25rem;
    z-index: 5;
    padding: 0.125rem 0.625rem;
    white-space: nowrap;
}
.album-timeline-cell.show-date::before {
    content: attr(data-date);
    top: 0.25rem;
    font-weight: bold;
}
.album-timeline-cell.shimmer.show-date::before,
.album-timeline-cell.shimmer.show-video-duration::after,
.album-timeline-cell.show-date i.icon-check {
    display: none;
}
.locations-dialog-nav,
.timeline-location {
    width: calc(100% + 1rem);
    margin-left: -0.5rem;
}
.empty-albums-section i {
    --icon-size: 192px;
    margin-left: auto;
    margin-right: auto;
}
.album-content-grid .gallery-view-zoom-control {
    position: absolute;
    top: 0.75rem;
    right: 1.25rem;
    z-index: 10;
    display: flex;
    gap: 0.25rem;
}
.rtl .album-content-grid .gallery-view-zoom-control {
    left: 1.25rem;
    right: auto;
    direction: rtl;
}
.timeline-tooltip {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    padding-bottom: 1rem;
    z-index: 5;
}
.timeline-tooltip button {
    padding-left: 10px;
    padding-right: 10px;
}
.lp-gallery .btn-galleries {
    overflow: visible;
    position: relative;
}
.lp-gallery .btn-galleries i.icon-link-small {
    position: sticky;
    right: -1px;
    background: var(--surface-tree-iconwrap);
    padding: 0 16px 0 4px;
    float: inherit;
    margin-inline-end: 1px;
}
.rtl .lp-gallery .btn-galleries i.icon-link-small {
    right: auto;
    left: -1px;
    background: var(--surface-tree-iconwrap-rtl);
}
.lp-gallery .btn-galleries:hover i.icon-link-small,
.lp-gallery .btn-galleries.active i.icon-link-small {
    background: var(--surface-tree-iconwrap-active);
}

.rtl .lp-gallery .btn-galleries:hover i.icon-link-small,
.rtl .lp-gallery .btn-galleries.active i.icon-link-small {
    background: var(--surface-tree-iconwrap-active-rtl);
}
.lp-gallery .albums-tree-list .btn-galleries i.icon-link-small {
    margin-inline-end: inherit;
    padding: 0 8px;
}
.lp-gallery .albums-tree-list.collapse {
    display: none;
}
.sidebar-button-iconwrap {
    display: inline-block;
    width: 30px;
}
.albums-header .breadcrumb-btn {
    margin-inline-end: 2px;
    color: var(--text-color-medium);
}
.breadcrumb-btn > div i {
    --icon-size: 16px;
    --mask-color: var(--text-color-medium);
}
.albums-header .mega-button span {
    display: block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.timeline-location {
    background: var(--surface-main);
    padding-bottom: 26px;
    margin-top: -1rem;
}
.albums-list {
    display: grid;
    gap: 12px;
}
.album-txt {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    max-width: 297px;
    color: var(--text-color-high);
}
.empty-albums-list-container {
    text-align: center;
    align-items: center;
    display: flex;
    flex-direction: column;
}
.empty-albums-list-wrapper {
    margin: auto;
    gap: 8px;
}
.add-to-album-dialog .empty-albums-title {
    margin-top: 8px;
    font-size: 14px;
    line-height: 20px;
}
#gallery-view .data-block-view .icon-check {
    --mask-color: var(--text-color-high-inverted);
}
#gallery-view .pre-pusher + .content-row .timeline-date-title {
    padding-top: 8px;
}
#gallery-view.gallery-type-m .content-row .content-block > a.data-block-view:nth-child(1),
#gallery-view.gallery-type-d .content-row .content-block > a.data-block-view:nth-child(1) {
    grid-area: c1;
}
#gallery-view.gallery-type-m .content-row .content-block > a.data-block-view:nth-child(2),
#gallery-view.gallery-type-d .content-row .content-block > a.data-block-view:nth-child(2) {
    grid-area: c2;
}
#gallery-view.gallery-type-m .content-row .content-block > a.data-block-view:nth-child(3),
#gallery-view.gallery-type-d .content-row .content-block > a.data-block-view:nth-child(3) {
    grid-area: c3;
}
#gallery-view.gallery-type-m .content-row .content-block > a.data-block-view:nth-child(4),
#gallery-view.gallery-type-d .content-row .content-block > a.data-block-view:nth-child(4) {
    grid-area: c4;
}
#gallery-view.gallery-type-m .content-row .content-block > a.data-block-view:nth-child(5),
#gallery-view.gallery-type-d .content-row .content-block > a.data-block-view:nth-child(5) {
    grid-area: c5;
}
.media-tabs.hidden + .gallery-tabs-bl  {
    border-top: 1px solid var(--mobile-border-strong);
}
#media-tabs .m-tabs.hidden ~ div {
    display: none;
}
@-moz-document url-prefix() {
    .btn-galleries .w-full {
        width: calc(100% - 33px);
    }
}
